$(document).ready(function(){

	// first example
	$("#browser").treeview();

	// second example
	$("#navigation").treeview({
		persist: "location",
		collapsed: true,
		unique: true
	});

    // fourth example
    $("#black, #gray").treeview({
        control: "#treecontrol",
        persist: "cookie2",
        cookieId: "treeview-black",
    });

	// third example
	$("#red").treeview({
		animated: "fast",
		collapsed: true,
		unique: true,
		persist: "cookie",
		toggle: function() {
			window.console && console.log("%o was toggled", this);
		},
	});



});